<?php
/**
 * Created by PhpStorm.
 * User: zhixuedong
 * Date: 2022/3/22
 * Time: 9:58
 */

namespace app\project\service;


use app\common\controller\Common;

class ProjectTypeService
{

    //查询基本信息
    static function advanceDetail($where){
        $common = new Common();
        $detail =  $common->public_select("project_type",$where)->find();
        return $detail;
    }

    static function typeList($where,$field=null,$order="id desc"){
        $common = new Common();
        $detail =  $common->public_select("project_type",$where,$field)->order($order)->select();
        return $detail;
    }

}